body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

header {
    background-color: #25318e;
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

main {
    padding: 20px;
}

.user-management {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
}


.user-container {
    /* display: none; */
    background-color: #eee;
    padding: 20px;
    margin-top: 20px;
}


.reservation-management {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
}

.reservation-list {
    list-style-type: none;
    padding: 0;
}

.reservation-list li {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.reservation-list li span {
    margin-right: 10px;
}

.reservation-list li button {
    margin-right: 5px;
}

.reservation-details {
    display: none;
    background-color: #eee;
    padding: 20px;
    margin-top: 20px;
}

.reservation-details p {
    margin: 0 0 10px;
}

footer {
    background-color: #25318e;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* 弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 14px;
    width: 80%;
    height: 80%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.close {
    position: absolute;
    color: #aaaaaa;
    right: 20px;
    top: 5px;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

form {
    max-width: 400px;
    height: 80%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.input input {
    height: 100%;
    max-height: 30px;
    width: 80%;
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #767272;
    outline: none;
    font-size: 18px;
    font-weight: 500;
}

.close-icon {
    width: 100%;
    height: 50px;
}

.close-icon h2 {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 返回顶部 */
#back-to-top {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #25318e;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

#back-to-top i {
    color: white;
    font-size: 30px;
}

#back-to-top:hover {
    background-color: #25318e;
}